package game.controler.ecouteurs.conversation;

import game.controler.gestionnaires.conversation.GestionnaireReponses;
import java.awt.event.MouseEvent;
import java.awt.event.MouseListener;

/**
 *
 * @author Gab'z
 */
public class EcouteurConversationReponse implements MouseListener {

    private String idReponse;

    public EcouteurConversationReponse(String idReponse) {
        this.idReponse = idReponse;
    }

    @Override
    public void mouseClicked(MouseEvent e) {
        System.out.println("clic sur réponse : " + idReponse);
        GestionnaireReponses.getGReponse().getReponse(idReponse).doActionClicReponse();//  throw new UnsupportedOperationException("Not supported yet.");
    }

    @Override
    public void mousePressed(MouseEvent e) {
        // throw new UnsupportedOperationException("Not supported yet.");
    }

    @Override
    public void mouseReleased(MouseEvent e) {
        //  throw new UnsupportedOperationException("Not supported yet.");
    }

    @Override
    public void mouseEntered(MouseEvent e) {
        // throw new UnsupportedOperationException("Not supported yet.");
    }

    @Override
    public void mouseExited(MouseEvent e) {
        //throw new UnsupportedOperationException("Not supported yet.");
    }
}
